package com.hdoit.ares.logical.active.dao.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Component;

import com.tennetcn.common.dao.base.impl.SuperDao;
import com.hdoit.ares.logical.active.dao.ISignDao;
import com.hdoit.ares.logical.active.mapper.SignMapper;
import com.hdoit.ares.logical.active.model.Sign;
/**
 * @author      wangxuexue
 * @email       
 * @createtime  2017年12月31日 17:53:36
 * @comment
 */
@Component
public class SignDaoImpl extends SuperDao<Sign> implements ISignDao{

	private SignMapper signMapper;
			
	public SignMapper getSignMapper() {
		return signMapper;
	}
	@Resource
	public void setSignMapper(SignMapper signMapper) {
		this.signMapper = signMapper;
	}

	@Override
	public List<String> querySignedDate(String month,String custId) {
		
		return signMapper.querySignedDate(month,custId);
	}

	@Override
	public Integer queryAllSignedDays(String month,String custId) {
		
		return signMapper.queryAllSignedDays(month,custId);
	}

	@Override
	public Sign queryIsSignedToday(String month, String day,String custId) {
		
		return signMapper.queryIsSignedToday(month, day,custId);
	}

}